$(document).ready(function () {	
	setInterval(time,1000);
	function time(){
		var Timer=new Date(); 
		var years=Timer.getFullYear();
		var months=Timer.getMonth()+1;
		var days=Timer.getDate();
		var hours=Timer.getHours(); 
		var minutes=Timer.getMinutes(); 
		var seconds=Timer.getSeconds();
		if (minutes<=9) 
			minutes="0"+minutes; 
		if (seconds<=9) 
			seconds="0"+seconds; 
		var dateTime = years + "年" + months + "月" + days + "日 " + hours
						+ "时" + minutes + "分" + seconds + "秒";
		$("#dateTime").text(dateTime);
	}
});